package com.wltt.product.ahuthr.service;

import com.wltt.product.ahuthr.model.ResultData;
import jakarta.servlet.http.HttpServletResponse;
import org.springframework.web.multipart.MultipartFile;

import java.io.IOException;

public interface FileService {

    /**
     * 上传
     *
     * @return
     */
    ResultData upload(MultipartFile file) throws IOException;

    /**
     * 下载文件
     *
     * @return
     */
    void getImage(HttpServletResponse response, String fileSaveName) throws IOException;
}
